package com.mall.common.enums;

/**
 * @author yjwu
 */

public enum UserStatusEnum {
    /***
     * 在用状态。
     */
    USING(1,"在用"),
    /***
     * 已删除状态。
     */
    DELETED(0,"已删除");

    private int code;
    private String desc;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    UserStatusEnum(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }
}
